//
//  ShopCartModel.h
//  FD
//
//  Created by Yasin on 2018/10/25.
//  Copyright © 2018 ZhiYuan Network. All rights reserved.
//
//在 ShoppingCartView.h 中查看数据
#import <Foundation/Foundation.h>
#import "ShopCartSetMealMode.h"
NS_ASSUME_NONNULL_BEGIN

@interface ShopCartModel : NSObject
/**1.数量 NSNumber*/
@property (nonatomic,  strong) NSNumber *quantity;
/**2.原价 NSNumber */
@property (nonatomic,  strong) NSNumber *original_price;
/**3 折扣价 */
@property (nonatomic,  strong) NSNumber *discount_price;

/**4.标题*/
@property (nonatomic,  strong) NSString *title;
/**5.套餐商品类的详细数据数组 NSArray 里面装的是有一个model */
@property (nonatomic,  strong) NSArray<ShopCartSetMealMode *> *setMeal;
/**6.购物车id  ✅❌ */
@property (nonatomic,  strong) NSNumber *cartId;



/**6.单独加 标记是否是套餐商品，如果 setMeal 数组不为空就是套餐商品 */
@property (nonatomic) BOOL isTaoCan;

/**标记是否是套餐 不用 单独转换 */
@property (nonatomic,  strong) NSNumber *taoCan;

@end

NS_ASSUME_NONNULL_END
